<div>
    <?
    if ($this->auth->isAuthorised() == false):
    ?>

        <form name = "login" method = "post" action = "/players/login">
        <?
            if ($error)
                echo $error . '<br />'
        ?>

                <span class = "art-button-wrapper"> <span class = "art-button-l"> </span>
                <span class = "art-button-r"> </span>

                <input class = "art-button" type = "submit" name = "send" value = "Connect with HT"/> </span>
        </form>

    <?
    else:
    ?>

    <p>Hello, <b><?= $userNick ?></b><br/> 
    Your role's <b><?= $user_info['class_desc']; ?></b><br/>
    
    <span class = "art-button-wrapper"> <span class = "art-button-l"> </span>
    <span class = "art-button-r"> </span>
    <a class = "art-button" href = '<?= site_url();?>players/logout'>Logout</a>
 </p>

    <?
    endif;
    ?>
</div>